Custom modification, only removes primary group.