Clean up syntax output