def __new__(mcs, name, bases, class_body, **kwargs):
    """
        Override of `__new__` to ensure the __init__ signature is compatible.
        """
    return super().__new__(mcs, name, bases, class_body)
