This code is duplicated in a bunch of places.  Can't we just make a `Transformable` instance for `Measure`?