Add getSimilarQueries() implementation.