Added CQRS messaging base classes.