Added template dir.