code: def add_states(self, *states):
          '''
          Add @states.
          '''
          for state in states:
              self.states[state] = EventManagerPlus(selff add_states(self, *states):
          '''
          Add @states.
          '''
          for state in states:
              self.states[state] = EventManagerPlus(self)
docs: Add @states.