Attach method for Measurement.