Some more objective-c work. Started adding support for array return types