Changed Template::addCompiler() to Template::registerCompiler() for consistency with UoW methods that are similar