Change findDocBy() signature to return list of documents.