Simplifying templates.