Additions to template class, outside functions used by class.