Move event name to object