Add some event emitting