Added Network class.