Add more validations to constant values.