Allow routes to be completely customized

This is a backport of some changes from the 2.0 branch.
Align the parameters of a method call if they span more than one line.