https://github.com/freedomjs/freedom/commit/34c06eaf1240e4a061a712cc6752b268bda1f32b