Adding the references for the documents