Replace isa assignment with object_setClass.