Added get_active_context