https://github.com/freedomjs/freedom/commit/58b8362130079a5a0d72e5ed88cd82b502508929