private keys can now be provided as strings as well.