Added a detail about state transitions.