Adapt to changes of plone.app.event 2.0.