Update README to reflect the new API.