Added refactoring options to context menus