code: def add_routes(self, routes: Iterable[AbstractRouteDef]) -> None:
          
          for route_def in routes:
              route_def.register(self)
docs: Append routes to route table.
  
          Parameter should be a sequence of RouteDef objects.