Move history preferences to snippet.