An API for creating and formatting measurements.