Improve cross references and reduce doc build warnings