Changes templates for the layout.