Component/Container: updated getNodes functionality