Fix internal document references