code: def load_modules(self, data=None, proxy=None):
          '''
          Load the modules into the state
          '''
          log.info('Loading fresh modules for state activity')
          # Load a modified client interface that looks like the interface used
          # from the minion, but uses remote execution
          #
          self.functions = salt.client.FunctionWrapper(
                  self.opts,
                  self.opts['id']
                  )
          # Load the states, but they should not be used in this class apart
          # from inspection
          self.utils = salt.loader.utils(self.opts)
          self.serializers = salt.loader.serializers(self.opts)
          self.states = salt.loader.states(self.opts, self.functions, self.utils, self.serializers)
          self.rend = salt.loader.render(self.opts, self.functions, states=self.states, context=self.state_conf load_modules(self, data=None, proxy=None):
          '''
          Load the modules into the state
          '''
          log.info('Loading fresh modules for state activity')
          # Load a modified client interface that looks like the interface used
          # from the minion, but uses remote execution
          #
          self.functions = salt.client.FunctionWrapper(
                  self.opts,
                  self.opts['id']
                  )
          # Load the states, but they should not be used in this class apart
          # from inspection
          self.utils = salt.loader.utils(self.opts)
          self.serializers = salt.loader.serializers(self.opts)
          self.states = salt.loader.states(self.opts, self.functions, self.utils, self.serializers)
          self.rend = salt.loader.render(self.opts, self.functions, states=self.states, context=self.state_con)
docs: Load the modules into the state