Move the various getDirectChild functions to DomUtils.getDirectChild.