Finished the Document model