Constant protection of the generator internal state.