Cocoa categories done right