Support adding models before init_app() is called