Added mpz type to generics.