Replace get_context_instance() with context_*::instance