Add basic implementation of domain events