Replaced constants with variables in archetype-metadata