Adds event sourcing