Allow providers to be removed from the registry.
Added a custom RegistryException.

Added a custom RegistryException. Is currently used when a users tries
to do a double registration of providers.