Changed context mode references to static way