The global `app` isn't used inside the bootstrapping code here so I'm fine with shadowing it. I'll send a PR.