Defines an interface for Template with a key.
The function that creates the view.
The unique key of the template.
Defines an interface for Template with a key.