Added documentation for the replay_state struct.