Instead of using MetaInfo.finalBlockID directly, use getFinalBlockID() which returns a Name.Component.
Instead of using Interest.nonce directly, use get and setNonce() as needed.