code: def remove_methods(self, env):
          
          for method in list(self.methods.values()):
              env.RemoveMethod(method)
docs: Removes the methods that were added by the tool initialization
          so we no longer copy and re-bind them when the construction
          environment gets cloned.