- Added public access for readDocument.