Removing deprecated getUuid()
Using DomainEvents instead of array