Lit type changes for template class