Switch to using methods added to the PsiElements.