Overriding getProvider