changed get_context.... functions to context_....::instance etc