Archetype creation

MARK FOR DELETION use Archetype extraction