Replace a magic constant by a less magic constant.