Added missing RegisterProvider call.

Just makes it easier to use.