Added get_date method to the document object