core cleanup: move out allow_events field