More TSpectrum data type fixes