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