Adds better compatibility for the legacy data layer and the ToXMl method - using our new xml converter.