a tag for a function defined in a method should have scope:method:...
However, it had scope:function.
