Improving output formatting for equivalence class code.