Add example code.
Update comments
Add support for delegation and notifications.