Remove unnecessary search in the code.