https://github.com/freedomjs/freedom/commit/8dea401f8b569c3e1fdc89ab91ef34944d705ab9