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