Add support for multiple template type support.
Started to add template types class from script.