Events and persistence configuration