Fix namespace decorator to support multiple routes.