Primes utility class.