https://github.com/freedomjs/freedom/commit/036ac2fcee75c81e6a591130e969a300fb833ef8