Make getEntangledPort and getPort private