Added new method incase you want to performing mutating folds as java does not have immutable collections yet.