Utility functions and mixins for Archetype