Added doc comments to network.h.