BUG: using UrlGenerator with routes that have bound parameters

When binding a parameter in a route the binding closure is called when
generating a URL using UrlGenerator. This certainly doesn't seem like intended behaviour as the resolved binding is never even put into the generated URL.