Added Network.toString method.