public static function normalizePrefetchLookup($lookups, $prefix = null): array
    {
        $results = [];
        foreach ($lookups as $lookup) {
            if (!$lookup instanceof Prefetch) {
                $lookup = new Prefetch($lookup);
            }
            if ($prefix) {
                $lookup->addPrefix($prefix);
            }
            $results[] = $lookup;
        }

        return $results;
    }