def _setup_base_class(cls, only_one_registered=False):
    """
        Do any setup required specifically if this class is being setup as a hook definition
        abstract base class.
        """
    cls._registered_hooks = {}
    cls._only_one_registered = only_one_registered
