https://github.com/freedomjs/freedom/commit/3be5c65c5b2529ce1c5ba40e11fa0a59269e5be3