https://github.com/freedomjs/freedom/commit/78633f2923f6c74e3c94181579821345ddd0f270