added back some template operators