(cherry picked from commit 466784af57d5c6be7b205e4b76e94a2ffa8f8347)
popAndPushNamed
pushReplacementNamed