Don't rely on undefined behavior to get rocket events to work