Fixed Compile-errors in archetype