Fixed XML inconsistencies.