Fixed missing throws declarations in MaxPseudoLikelihood.