Adding events loading from XMLs