Simplify tmpl