XML cleanup.