Add WriteResponse type and fix bug with returnVals
Version 1.8.0.4