Add monoid instances for folds