Add stash_and_pop method