Completes adding support for archetypes

It now allows entities to be empty apart from declaring their archetype
(or type).