Added base classes for messages and actions