code: def set_own_module(self, path):
          
          log = self._params.get('log', self._discard)
          self._name = path
          self.module_add(event_target(self, 'legion_reset', key=path, log=log), path)
docs: This is provided so the calling process can arrange for processing
          to be stopped and a LegionReset exception raised when any part of
          the program's own module tree changes.