Added some documentation for the network code added recently.