Revised the API in the README.