Use the code wizard to create the event handlers. It will create the handlers in RE_System_Object_Code which is the appropriate location for macros moving forward. The RE7 Objects will still work in many cases, but has been deprecated.