Hamlified the template.