Added XML persistance.