Clean up MyApplication.