Remove extraneous network code