Patch for reading return values, I hate XML