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