Add shared_context option in renderer select_model