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