Defined a template directory.