Improve res.negotiate.