Remove extra set op for events. Fix #3.