Fixed PML import template class instantiation code