- Added accumulate(self) method.