Change `averages` property to `durations`.