Fixes conflict with plugins using `OAuthException` class

Also some style changes.