Removing an unneeded reference