Renamed group in Ted::Util to groupby to avoid confusion with group in Ted::Lambda