Fix for bug with lambdas in events and events with interface arguments.