Replaces transitionTo to transitionToRoute methods.