Devices declaration reworked.