LPS-48593 mail.util.Hook Registry'fy