https://github.com/freedomjs/freedom/commit/7bde989c28d966c2288ff44a00757656115b4d72