Add wrapper for Spectra objects.