https://github.com/freedomjs/freedom/commit/72f55be51c1dc5f339a959963be90aec87fa0ab9