The current event handling functions pass around a copy of a 24-bytes struct for each call, which should be avoided.