https://github.com/freedomjs/freedom/commit/462f1ee0e1e1125d444fb0ab821dacba4bc8d3d0