Registered functions do need to be NONSTD. However; why are hook registrations being exported at all, most registered functions should be static.