Removed IModule.
Tweaked RegisterProvider<T>