add getNode() for backward compatibility.