Add basic support for the event_get API.