Fixing recognizer construction.