Get rid of explicit template instantiation