Reduced code size for comparison in MonoMonoid.