Changed work with images, changed work with XML.