(cleanup) Refactored example to work with new API.