Added network i/o stuff.