- Added self.accumulate() method to accumulate compare_attrs.