Yes, this workaround is really ugly. For killing overloaded functions you'd need another proc_kill function that takes the number of the overloaded function as a parameter.

Until then, definitely give the functions unique names that you want to kill. This will be added to the manual.