Implemented an PsiElementFactory to successfully create PsiElements. This is used now in the documentation provider, which fixes the exception bug. #MMAP-45 Fixed