Added group, groupBy and span.