code: def register_as(self, klass, name, callback):
          
          return self.register(klass, callback, name)
docs: 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