Rename xhr to xhrOption. Closes #29