Improved DegreeDist API