Why does "app.onLaunched" deserve a separate method?