[PATCH 03/17] Remove unused stuff from network.py