Managing the device tree