Cleaned up code related to Python networked entities.