Combined recognition and Proto code