Removed magic numbers.