Move fixIntraDocumentReferences to late in the document lifecycle, so you can link to auto-generated things.
OMG, all propdefs have been broken for a while and nobody told me.
Add 'Issue Tracking' metadata.