Register a class with a function.

        :param klass: The class
        :type klass: class

        :param callback: The callable
        :type callback: callable

        :param name: The short name
        :type name: str

def register_as(self, klass, name, callback):
        """
        Register a class with a function.

        :param klass: The class
        :type klass: class

        :param callback: The callable
        :type callback: callable

        :param name: The short name
        :type name: str
        """
        return self.register(klass, callback, name)