Implemented Equals handling for accumulator state.