Add aggregate functions: min, max, sum.