Add hooking support
Merge pull request #31 from ares/feature/hooking

Add hooking support