Potential Null pointer exception if an exception is thrown first
Refactor by renaming MeasureOutput to MeasurementSink