Allow FunctionTask functions to take params