Keep track of which events are defined on userdata for performance.