Adding a constant method for route endpoint method parameters.