Function 'ds.checkvar' created and inserted in current functions.