Minor: moved checkTraitRequirements