Some changes for latest dtsapplib