This will go away, but dmd.getPhysicalRoot() is a better way of getting the app.