Make compatible with future changes in root.