Fix 2 warnings: "Direct access to objective-c's isa is deprecated in favor of object_setClass() and object_getClass()".

...object_setClass() and object_getClass()" warnings.