Adding methods to expose Degrees for Vertices.