Created a class for context menus.