Add hooks for context menus
Merge pull request #40 from steveaw/add-hooks3

Add hooks for context menus