Replaced open_devices by do_to_devices open_device.