Removing magic numbers.