A DOM construction utility.