Added support for Delete index and IndexExists methods to Template