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