Added docstrings to ITemplate.