https://github.com/freedomjs/freedom/commit/57d424f8564183b149895cbddb8a19cd83a0e7b7