Updated to modern Objective-C Syntax