Instead of using Data.signature directly, use get, and getSignature as needed.
Instead of using data.signedInfo directly, use get and setMetaInfo as needed.