Updated demos to new API.
Updated README with API changes.