Updated readme.
A couple of improvements to the API.