def __init__(cls, *args, **kwargs):
    """
        Initializes the class with an empty dictionary of instances.

        Arguments are `name`, `bases`, and `attributes`, as usual.
        """
    super().__init__(*args, **kwargs)
    cls._instances = {}
