Added template intantiation code