re-factor Objective-C: functions to methods

$ make Objective-C