Base classes for domain objects.