Add doc-comment to BestMatch function