Document the tpl commands and add the templates setting.