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