Added set_template to View