Hit to lead optimization of pyrazolo[1,5-a]pyrimidines as B-Raf kinase inhibitors.