[fold] WriterObject constructor cleanup