Cleanup templates and styles