Minor DOMRenderer refactoring.