[SAF-84] Allowing aggregation functions to be extended