Added Empty templates constructor function and Add method for string based templates