Remove some magic numbers.