Added alias generation for aggregation functions.