- add deprecation message for the 'format' setting
- correctly load the codecs for format's setting
- don't use deprecated things