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