https://github.com/freedomjs/freedom/commit/787b970010d9aa821e6b1e60ed4e81b79740f285