Use interface from event dispatcher instead of specific class