Completes the work started in #128262. This PR removes the old way of register request handlers with callbacks and makes the operator const.
Continuation of the work started in #128262.