Mixin classes for list and numeric accumulation.
Extracted COLLECT clauses into a separate component.