code: def create_object(self, alias, *args, **kwargs):
      
      object_type = self._type_aliases.get(alias)
      if object_type is None:
        raise KeyError('There is no type registered for alias {0}'.format(alias))
      return object_type(*args, **kwargs)
docs: Constructs the type with the given alias using the given args and kwargs.
  
      NB: aliases may be the alias' object type itself if that type is known.
  
      :API: public
  
      :param alias: Either the type alias or the type itself.
      :type alias: string|type
      :param *args: These pass through to the underlying callable object.
      :param **kwargs: These pass through to the underlying callable object.
      :returns: The created object.