Modify constant scope of some operator classes and add registration of operators.