How does Spectrum determine the Model Class of a device model