Slight modifications to base template.