Fix of Func<T> dependency as parameter.