Added parameter matching to route discovery