Added full header & footer to templates.