Added BST API.