Byte-Code-Generation classes for aggregation service and related