Using binding on event types