- Refactored MessageHandlerFactory to enable automatic registration of common MessageHandler dependencies.