Moving magic numbers into variables.