Thank you, this works as a solution.
My apologies – I sent you the wrong way.
I did update the Class.form.php. (but wrote connections.form.php by mistake).
When I am creating a NEW profile, the fields that I removed are invisible. However, when I am MODIFYING an existing profile – those same fields are visible again.
I am referring to the Target and follow fields of the Link section in the profile.