Group deletion code.