Added AverageAggregation.