Ported to primecoin.