See design imitation/reference.
Contributed by Trent Walton
Contributed by Stephen Coles
Contributed by Florian Hardwig