Objective-C client delegate, fixed #416.