Refactory code, remove TResult of message processor.