Remove debug messages.
Move exceptions to their own package.

This will break plugins that directly catch these exceptions.