Move group implementation into CGALPrimitive.