obsolete IMessageHandlerRegistry

fixes #1580