Transition.to needs a complete function if making calls.