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