Simplify adding template directory.