Support events with custom attributes