Removing the magic numbers.