Added helper functions to get/set current yank