Added templates for header and footers.