Added group deletions and stuff for debugging.