Implemented DocSourceSet and test it.