Implemented support for non-image document types