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