Add aggregation.
Perf tests preparation.