Spectral types in the direction of the Magellanic Stream