parameters: (self, name, cls)
docstring: Register cls as the specialized class for handling "name" headers.
docstring_summary: Register cls as the specialized class for handling "name" headers.
docstring_tokens: Register cls as the specialized class for handling name headers .
function: def map_to_type(self, name, cls):
          """Register cls as the specialized class for handling "name" headers.
  
          """
          self.registry[name.lower()] = cls
function_tokens: def map_to_type ( self , name , cls ) : self . registry [ name . lower ( ) ] = cls