KeyChain: Added Python and Java APIs.