Adding polymorphic support for the signalr events