init_app support