Improve digit recognition.