Probably just needs some checking for alphanumeric characters preceding the `Method` or `Function` keyword.  I can have a look if I find some time. Mostly just adding this issue to avoid forgetting about it.