Added group aggregation.