Adding xml based methods