def METHOD_NAME(self, name):
    """Register a callable with the registry under a particular name.
    Parameters
    ----------
    name : str
        The name under which to register a function
    Returns
    -------
    dec : Callable
        A decorator that takes a function and will register it under the name.
    """
    def dec(func):
        self._registry[name] = func
        return func
    return dec