Adding support for embedded images.