Converted to Modern Objective-C ARC.