A step towards writing images (see #6).