Moved findAndPluck helper function to greater scope.