These events were renamed to onBeforeEventDomAdd and onBeforeEventDomRemove to make the names consistent with other events.
The old events were supposed to be supported as well but there is a bug that prevents them from firing. I recommend switching to the new names, however.