Made groupBy chainable