Remove unused state.