Polished XHR class.