Combine PsiNamedElement and NavigationItem in one interface and use that.