Removing incompatible Obj-C code