Prevent collision of $template variable.