Add a demo of general template.