Ah, `Measure` is defined in -core, whereas `avgScale` is in -lib --- but only in this branch!  In master we moved `avgScale` to -core and generalized it.  So we should merge master into units again.