Some utility classes for iOS