Remove groupBy with selector.

Use groupBy.map instead.
Merge pull request #910 from benjchristensen/groupBy-selector

Remove groupBy with selector.