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