https://github.com/freedomjs/freedom/commit/4a087b138f81516fd58bbd5610595ca566d63aa5