Added groupBy(), sum(), and average()