Can this be a private inner class of SketchMapMonoid?

We've found the smaller the public API surface area is, the easier it is to keep things compatible.