Migrated some magic numbers into a config file.