Aggregationmethods used in AggregationService.