code: def load_hooks(self, context):
          
          for hook in self.configuration.get('hooks', ()):
              config = hook.get('configuration', {})
              config.update(self.configuration.get('configuration', {}))
  
              try:
                  self._load_hook(hook['name'], config, context)
              except KeyError:
                  self.logger.exception('Provided hook has no name: %s.', hook)
docs: Initializes the Hooks and loads them within the Environment.