Decode path before recognizing.