Added stub for swapWithNext