Change the template structure.