Send correct number of parameter to template class.