Add virtual destructor to NLTemplateOutput.