Waking up in the correct state.