Uncommented init_app method.