Fixed broken refs to PrimeFactors.val() (as method)