[events] Fix obsolete imports.