@Override
    protected void doUnwrap(PsiElement element, Context context) throws IncorrectOperationException {
      PyElement elseBranch;

      if (element instanceof PyIfStatement && ((PyIfStatement)element).getElsePart() != null) {
        elseBranch = ((PyIfStatement)element).getElsePart();
      }
      else {
        elseBranch = (PyElement)element;
      }
      unwrapElseBranch(elseBranch, element.getParent(), context);
    }
@Override
    protected void doUnwrap(PsiElement element, Context context)