Apply changed API in DSMTest code.