Added StateTransitionOptions.