Refactor associations for Measure.