Fix destructuring in measurements.