Update debug/error to use DTYPE data types.