Add archetype verification and fix imported package names per tests.