Eliminate some duplicated constants.