Add missing init and set functions and also fix printing.
Attach a file by drag & drop or click to upload