Add deprecation warning to old style custom events