Changed notation of registering the Service Providers
Enable error reporting, to make sure errors are showing
Fixed a bug