Correctly undefine methods for rebinding