Applying new template.