Add support for document pixmaps