Changes to make testing the dmg method easier.