Simplify templates.