Revert to C# Func type instead of F# func