Adds #unregister method to remove registered providers.

Adds tests and documentation for #unregister method.