Replace strings with defined constants
Merge pull request #3185 from meganemura/replace-with-defined-constants

Replace strings with defined constants.