Added setRoot, setFile, setVar, getVar, unsetVar and subst function to
template class.