Adjust route parameter handling in route definitions