Support --device.