Small change in API, new example, extra comments.