Support for templates, editing of templates, and using them.