Use `var` instead of explicit use of `IRenderContext`