Use `routeName` instead of `templateName` in Route internals

NOTE: This is a private API, relying on it is not advised.