Add setGroup command.