Utils for objective-c