Add and delete devices.