https://github.com/freedomjs/freedom/commit/3bb1620f97531b1a130685480aee55331d0ad4a2