Add type conversion for parameters of wrapped routes