Simplify groupings