Renamed network events, added structs for them.