Abstract base class of an generic event handler.
Optional function name for handling events having function property. If not defined it will default to the simple class name.
function