Add docs for adj and deg.