Cleanup IDsqThread types