Add the PauseState class.