[change] writePicture, writeSound methods