Fix SXP generation formatting issues.