https://github.com/freedomjs/freedom/commit/276998adc1a8523a91ef8aaf1ab25bb3be75fd66