Add document image retrieval and document metadata methods. Update some documentation.