docs: def add_route(self, template, controller, **kwargs):
          """ Add a route definition
  
              `controller` can be either a controller instance,
              or the name of a callable that will be imported.
          """
          if isinstance(controller, basestring):
              controller = pymagic.import_name(controller)
  
          self.routes.append((self.parse_route(template), controller, kwargs))
  
          return self