Add XDR encoding of Device.
Add XDR encoding of Folder.