Added missing methods to Bucket and EncryptedObject.