Utilities and categories for Objective-C