Added clang template generation support.