Fixed namespacing oversights

Few typos in the Template class that break autoloading