Fix context getter.