Consolidate Templates class into Template.