Support for functions added to prototype

Hi

I have been using the annotate plugin for a while but really needed to add comments to functions added to the prototype such as:

aFunction.prototype.extraFunction = function (param1, param2){
}

This is the code I have been using to achieve this.
Cheers,
Rob