Edits to templates