Removed pre-2.7 groupBy implementation