Extracted list accumulation clauses to a separate component.