Some linting in Spectrum.py.