Helper classes and categories for iOS SDK.