Added ability to pass function name when handling wildcard events

[FIX] Ability to pass class name for wildcard evens