Removed unneeded loop state.