An implementation of traits for Objective-C