Fix doc for template