Implementation of Traits for Objective-C.