Added XML writer