protected function fixDefaultRelations(array & $relations)
    {
        foreach ($relations as $key => $relation) {
            if ('role_adldap_by_role_id' === $relation && !class_exists(LDAP::class)) {
                unset($relations[$key]);
            }
        }
    }