Removed getProviders() call. Updated registerProvider() and pay().