Generic templates with and without header