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