Functions, Archetypes, and Motifs