Monoids, fixes for older GHCs