Handles a hash to specify the provider