Support templates in other modules than `core`