Store event dispatcher in command object