Remove Data.Monoid dependency