Minor changes to InvokeResponseGen.cs