Implement Application#_routeTo function.