Better get_provider_for_method