Fix incorrect call to template.