Added support for inlined pictures.