Improved cross-namespace relationship support.