Updated the Net class.