Replace reference copying by relate

review932002