Fix nested archetypes