@classmethod
def with_client(cls, client: 'md_client.Client', **kwargs):
    """
        Creates a manager and automatically registers events.
        """
    obb = cls(client=client, **kwargs)
    obb.register_events()
    return obb
