Generalized DOM binding.