Tag trim, template Constructor