Shift out vertex degree methods onto their own interface.