Move several const into config file.