Updated README for new API; part of #254.