If you're referring to the `app.foo = self.foo` lines, I put them in `init_app`, since we won't necessarily have an app in `__init__`.  I just put everything that touched the `app` in the `init_app` function, pretty much.