Added named segments in routes.