Renamed statusesNext to transitions.