Removing groups static function (issue #15)