Clear remote objects properly.