Fix the NumMatches count.
Added documentation for frontend prefix matching.