Added magic numbers and magic strings to global constants.