Updated network class.