Added check for trait use to Miscellaneous class