Updated readme to reflect recent changes to the API.