fix for right hand function declaration, for prototypical extension

Fix for Issue #8 - functions declared by prototypical extension are not commented