Added nil checks for forProvider methods.