protected static function registerRelations()
    {
        if (!static::$relations) {
            $supported = [
                HasOne::class => HasOneWrapper::class,
                BelongsTo::class => BelongsToWrapper::class,
                BelongsToMany::class => BelongsToManyWrapper::class,
                HasMany::class => HasManyWrapper::class,
            ];

            static::$relations = Collection::make([]);

            foreach ($supported as $rel => $wrapperName) {
                static::$relations[$rel] = [
                    'className' => $wrapperName,
                ];
            }
        }
    }