'replaceNaDS' added to assign functions.