PrivateKeyModel can now generate a new key.