Fixed incorrect data type constants usage; confusing DT_xxx and DTYPE_xxx constants...