isolate dmd from dt internals