Should also test that this actually affects the generated XML where that makes sense.