Converted to Modern Objective-C Syntax.