Renamed model Tpl to Template.