Implement definition for context menu