Renamed pointer swap functions.