Merge some classes into ConstantEditor because they can only be used in it.