Improvements to XHRstorage.