Gets the internal list of event listeners.
This function is provided to support optimizations, and should not normally be used. The list returned by this function should be treated as read-only.