You could add a docstring or a comment mentioning the lazy initialization here. It would probably make sense to include a link to http://flask.pocoo.org/docs/patterns/appfactories/#factories-extensions as well.