Registry class is no longer in the Events module.