https://github.com/freedomjs/freedom/commit/5e3ee1338545e797458c923a2fcab993f8000c57