Added syncing of hidden state to sweep duties.