Make maximum keypool size a config option.