Added XML support.