Update readme to describe new API introduced in #11