Move width setting into device.