Switch to new method of custom DOMX.