Fix 'Assignment to Objective-C's isa is deprecated in favor of object_setClass()'