Fix the signature of primefactors()