Notify.pm: make ref_change function private