https://github.com/freedomjs/freedom/commit/19c100efc4f4ccfae1466622d0bffe1741331b86