tmpl does not depend on underscore any more.