Refactory IProcessor to IMessageProcessor.