Added serializable interface to domain objects.