Add APIs for Brute and Fast.