Functional APIs for Objective-C