traits: Change traits to follow standard UnaryTypeTrait concept