Added AVG aggregate.