Fix event api usage.