Tedious cross-reference fixes to satisfy R CMD check.