Fix erroneous usage of method_setImplementation