Continued Objective-C implementation.