https://github.com/freedomjs/freedom/commit/1d754460500c7fa57b58647afe5a94557ae5973f