Change Weighting class in oder to make it accept IList<Document>