Added InvokeWithArgs 

method to ensure that certain function arguments arguments are required by the function