Updated syntax to modern ObjC