Improve the interface of DepDegree.