JSDoc and beautified code for PrivateKey