Fixed incorrect reference to private key.