Nearing completion of network_functions, a few glaring errors fixed.