Add getter for transition.text.