Clean up configs.