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