Rename ports to rootPorts