Added get and __contains__ to DeviceSet.