Adds contextual menus and settings submenus