Add methods for retrieving next state.