Added support for Spectral + some error checking.