Added cached queries with decorated mediator. And domain events.