Adding support for root and wildcard routes.