https://github.com/freedomjs/freedom/commit/a7600aec376d55b74762063fd759fce0e2bd6db8