Added XHR definitions