https://github.com/freedomjs/freedom/commit/3c2a54654d4ddf8c03a074d93cf4674095dd775e