Adding events support.