Add hooks examples
Tweak
Add bracket example
Redo code examples re @sol's suggestions
Merge pull request #178 from hdgarrood/hooks-examples

Hooks examples