Tweaked PerTypeDispatcher usage
Publish: Improved error handling