Refine Sum, SumDistinct and Average functions.
Refine Sum and Average of GeneratedAggregate.