Add support for hooks #12
Merge pull request #35 from jamieoliver/feature/hooks

Add support for hooks