Make recursive internal references work.
Python 3 fix
Merge pull request #20 from mdboom/test-internal-recursive-references

Make recursive internal references work.