Fixing some magic numbers.