(cherry picked from commit d9782f9a0038c05a9d9911f3066989db3b41fc52)
popAndPushNamed
pushReplacementNamed