Improved code context resolution.