Events and scopes
- Added lifecycle events for context menu
- Added scopes options