Add spectral.py.