@classmethod
def __initialize_states(cls):
    """ Initializes a class-scoped states dictionary to store named
            states.
        """
    if not hasattr(cls, '_SharedState__states'):
        cls.__states = {}
