add examples
Fix extending of attributes and listeners.
Update docs.