Using the write, as tostring drops attr