Renaming template to type.