Update plugin templates and doc to use template