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