TraitClass hierarchical structure