Constrain the exports of EventUtils