Refactored removal of datapath networks from datapath manager.