https://github.com/freedomjs/freedom/commit/03f94811cfa42203f1d26e95a78fd04183c0196c