Basic setup for template.