Added a document class to hold document information