Added event usage example.