Using templates for layout.