Upgrade to baseframe.init_app.