Add type field to IDevices