Moving all references to the root.