Add stop code to the search.