This `if` is not necessary, you can use `self::$_groups[$group][] = $name;` even if `self::$_groups[$group]` is not set.