Making format type configurable.