Added Encryption support to output object.