public static function hydrateCollection(array $customFunctions)
    {
        $hydrated = [];

        foreach ($customFunctions as $customFunction) {
            $hydrated[] = self::hydrate($customFunction);
        }

        return $hydrated;
    }