New feature: add index templates to all controller.