Relax dependencies on bytestring and network.