Better use of templates.