Removed direct access to ObjC isa pointers to silence deprecation related compiler warnings.

Removed direct access to ObjC isa pointers to silence deprecation related compiler warnings.