Make XHR compatible with new Kitt implementation