Remove duplication of constants.