Updated to templates.