Replace hard-coded strings with helpfully named constants.