Added mode { SAMPLE, AVERAGE } to data points.