Completing the recognizer's code.