Trying to connect an Area2D to creates a new script 4.4

Godot Version

4.4

Question

Whenever I try to connect an Area2D node to my script on my CharacterBody2D, it creates 'sub script' that I can't delete or get rid of because it's attached to my main script. Does anyone know how to fix this? In the past I've been able to link Area2D's to this script perfectly fine so I'm not sure what the issue is.

Define “connect” and “sub script”. You mean when you’re trying to connect a signal the engine creates a new signal handling function?