Adding events config.