static function getManager(?string $name = null): \Plasma\Types\TypeExtensionsManager {
        if($name === null) {
            if(!isset(static::$instances[static::GLOBAL_NAME])) {
                static::$instances[static::GLOBAL_NAME] = new static();
            }
            
            return static::$instances[static::GLOBAL_NAME];
        }
        
        if(isset(static::$instances[$name])) {
            return static::$instances[$name];
        }
        
        throw new \Plasma\Exception('Unknown name');
    }