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