DEV: encapsulates _events and clearing it at app-events module level (PR #9489)

GitHub

Thanks!