Transition function changed.