Added support for format preferences.