Added XElement overload for deserialization.