Changed to XML serialization.