removed ConstantType enum