Extend template class to create csv documents