Add commented out onDestroy to view generator.