New grouping support work for cg and irls optimizers now.