(cherry picked from commit 8b0feba19aab72db1f9ed8d4ffdf47c420bc3709)
popAndPushNamed
pushReplacementNamed