Fix template bug from merge.