Remember to eraseFromParent after replaceAllUsesWith.