Replaced a magic number with a constant.