https://github.com/freedomjs/freedom/commit/c2fbab7022785f4ca001e5b7e8cd61c77ee922f0