Automatic DMI merge stuff