https://github.com/freedomjs/freedom/commit/77a7a56eda603884240df35c047cd629811edf04