Make recursive internal references work.