Since templates can be composed not only of multiple component templates, but also the index template itself, there are two simulation APIs to determine...