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