Made some provider methods private.

In the cases when we don't need them elsewhere and they don't use any
injections themselves.