[#224] renamed the event register/release function to be more "event type" agnostic