Add own primality check, whoo.