Patch for network library.