Made some functions in DM public