Adding titles to templates