Remove the ID parameter from the model, and move it to the NetDevice object. Remove the devices GPtrArray and use the mode for everything. Connect up the changed and deleted signals from NetObject and DTRT in the UI.