Added base class for MonoMonoid to eliminate duplication of code in constructors.
merge